projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e760197
)
(end-of-buffer): Recenter overlay lists.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 13 Jun 1994 23:40:33 +0000
(23:40 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 13 Jun 1994 23:40:33 +0000
(23:40 +0000)
lisp/simple.el
patch
|
blob
|
history
diff --git
a/lisp/simple.el
b/lisp/simple.el
index 484b217c5fa81f0dfa3bece0b6e8bfc2b12592e4..6dbfccad589628ada9753c3a5c6d4a0d9bff3468 100644
(file)
--- a/
lisp/simple.el
+++ b/
lisp/simple.el
@@
-289,7
+289,9
@@
Don't use this command in Lisp programs!
(goto-char (window-start))
(vertical-motion (window-height))
(< (point) old-point)))
- (recenter -3))))
+ (progn
+ (overlay-recenter (point))
+ (recenter -3)))))
(defun mark-whole-buffer ()
"Put point at beginning and mark at end of buffer.